local extension = Package:new("chess-games", Package.SpecialPack)
local prefix = "packages.chess-games.pkg."

extension:addGameMode(require(prefix .. "gamemodes.xiangqi"))
extension:addGameMode(require(prefix .. "gamemodes.nchess"))

Fk:addBoardGame {
  name = "xiangqi",
  engine = require "packages.chess-games.xiangqi",
  client_klass = require "packages.chess-games.xiangqi.client.client",
  room_klass = require "packages.chess-games.xiangqi.server.room",
  page = {
    url = "packages/chess-games/Fk/Pages/Chess/Xiangqi.qml",
  },
}

Fk:addBoardGame {
  name = "nchess",
  engine = require "packages.chess-games.nchess",
  client_klass = require "packages.chess-games.nchess.client.client",
  room_klass = require "packages.chess-games.nchess.server.room",
  page = {
    url = "packages/chess-games/Fk/Pages/Chess/NChess.qml",
  },
}

return {
  extension,
}
